﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Ricky Online</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="我的地盘……">
<link href="css/read.css" media="screen,projection" rel="Stylesheet" type="text/css">
<script language="javascript">
	
	function sreachs(){
		document.form1.sreach.value="";
	}


	function check2(){
		if(document.form1.sreach.value==""){
			alert("你要找的内容为空！");
			document.form1.sreach.focus();
			return false;
		}else{
		return true;
		}
	}

	function clear1(){
		document.form2.mail.value="";
	   }

    function check1(){
	   if(document.form2.caption.value==""){
	    alert("请输入问题标题!!");
        document.form2.caption.focus();
        return   false;}
	   else if   (document.form2.caption.value.length>25){
        alert("标题最多支持25个字符!!");
        document.form2.caption.focus();
        return   false;}

       if  (document.form2.review.value==""){
        alert("请输入问题描述!!");
        document.form2.review.focus();
        return   false;}
	   else if   (document.form2.review.value.length>500){
        alert("描述内容最多支持500个字符!!");
        document.form2.review.focus();
        return   false;}

		var reEmail = /^([A-Za-z0-9])(\w)+@(\w)+(\.)(com|com\.cn|net|cn|net\.cn|org|biz|info|gov|gov\.cn|edu|edu\.cn)/;

	   if (document.form2.mail.value==""){
        alert("请输入你的E-mail，以便需要时给你答复!!");
        document.form2.mail.focus();
        return   false;}
	   else if (!document.form2.mail.value.match(reEmail)){
        alert("请输入正确的E-mail!!");
        document.form2.mail.focus();
        return   false;}
       else{
	   return   true;}


	   return true;
    }

</script>
</head>

<body>
<div id="bg_color">
	<div id="container">
		<div id="banner">

			<div id="ban">
			&nbsp;<img src="images/logo.gif" border="0" usemap="#Map">
			<map name="Map" id="Map"><area shape="rect" coords="3,3,150,45" href="http://www.rickyxu.cn/" /></map>
			<br/>
			<ul>
			<li><a href="http://www.rickyxu.cn/"><strong>首页</strong></a></li>
			<li><a href="index.php"><strong>酷网开会</strong></a></li>
			<li><a href="discover.php"><strong>新发现</strong></a></li>
			<li><a href="lives.php"><strong>生活中</strong></a></li>
			<li><a href="guestbook.php"><strong>留言簿</strong></a></li>
			<li><a href="discuss.php"><strong>技术交流</strong></a></li>
			<li><a href="mailto:guoyu1268@163.com"><strong>联系本人</strong></a></li>
			</ul>
			</div>

			<div id="login">
			<form name="form1" id="form1" method="GET" action="sreach.php" onSubmit="return check2(this);">
			<input style="border: 0px;height:16px;width:129px;color: #cccccc;" type="text" value="请输入要找的内容……" name="sreach" id="sreach" onfocus="sreachs();" onblur="">
			<input style="border: 0px;height: 18px;color: white;" type="submit" value="前往" name="submit" id="submit">&nbsp;&nbsp;
			</form>
			</div>
		
		</div><!--end banner-->

		<div id="contents">
		<center><img src="images/read_blog.jpg"/></center><br/>
		<hr size="3"><br/>
			<div style="padding-left:30px;padding-right:30px;padding-top:30px;">


				<div style="padding-left:50px;padding-right:50px;padding-top:30px;padding-bottom:70px;">
				<p>
				<strong>guoyu1268说：</strong>这里就是大家的评论内容了！这里就是大家的评论内容了！这里就是大家的评论内容了！这里就是大家的评论内容了！这里就是大家的评论内容了！
				</p>
				</div>

				<form id="form2" name="form2" action="read.php" method="POST" onSubmit="return check1(this);">
					&nbsp;E-mail&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="mail" id="mail" value="你的E-mail" style="color:#5f5f5f;width:220px;" onfocus="clear1();"><br/>
					你的问题&nbsp;&nbsp;&nbsp;<input type="text" name="caption" id="caption" value="" style="color:#5f5f5f;width:380px;"><br/><br/>
					<table width="100%"><tr align="left"><td valign="top" width="11%">
					问题描述</td><td width="89%"><textarea name="review" id="review" cols="60" rows="11" ></textarea></td></tr></table>
					<br/>
					<center>
					<input type="submit" value="提交问题"/>&nbsp;&nbsp;
					<input type="button" value=" 返 回 " onClick="window.location='/'"/>
					</center>
				</form>
			</div><!--end docu-->
		</div><!--end contents-->

	</div><!--end container-->
</div><!--end bg_color-->
	<br/>
	<div id="foot">
		<div><strong><a href="http://www.niaoke.com/">鸟客</a>|<a href="http://fxh.woxiangshuo.com/">负心汉</a>|<a href="http://blog.sina.com.cn/ricky1268">我的博客</a>|<a href="#">链接</a>|<a href="#">链接</a>|<a href="manage.php">管理</a></strong></div>
		<center><table><tr><td>
		<strong>RickyXu @ 2008</strong>&nbsp;&nbsp;</td><td><a href="mailto:guoyu1268@163.com" title="欢迎与我联系，批评、指正!谢谢!" alt="guoyu1268@163.com"><img src="images/mail.gif"></a>
		</td></tr></table></center>
	</div><!--end foot-->

</body>
</html>